import service from '@/utils/request'
// @Tags HbjgCampusLocation
// @Summary 创建建筑表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.HbjgCampusLocation true "创建建筑表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /hbjgCampusLocation/createHbjgCampusLocation [post]
export const createHbjgCampusLocation = (data) => {
  return service({
    url: '/hbjgCampusLocation/createHbjgCampusLocation',
    method: 'post',
    data
  })
}

// @Tags HbjgCampusLocation
// @Summary 删除建筑表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.HbjgCampusLocation true "删除建筑表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /hbjgCampusLocation/deleteHbjgCampusLocation [delete]
export const deleteHbjgCampusLocation = (params) => {
  return service({
    url: '/hbjgCampusLocation/deleteHbjgCampusLocation',
    method: 'delete',
    params
  })
}

// @Tags HbjgCampusLocation
// @Summary 批量删除建筑表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除建筑表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /hbjgCampusLocation/deleteHbjgCampusLocation [delete]
export const deleteHbjgCampusLocationByIds = (params) => {
  return service({
    url: '/hbjgCampusLocation/deleteHbjgCampusLocationByIds',
    method: 'delete',
    params
  })
}

// @Tags HbjgCampusLocation
// @Summary 更新建筑表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.HbjgCampusLocation true "更新建筑表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /hbjgCampusLocation/updateHbjgCampusLocation [put]
export const updateHbjgCampusLocation = (data) => {
  return service({
    url: '/hbjgCampusLocation/updateHbjgCampusLocation',
    method: 'put',
    data
  })
}

// @Tags HbjgCampusLocation
// @Summary 用id查询建筑表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query model.HbjgCampusLocation true "用id查询建筑表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /hbjgCampusLocation/findHbjgCampusLocation [get]
export const findHbjgCampusLocation = (params) => {
  return service({
    url: '/hbjgCampusLocation/findHbjgCampusLocation',
    method: 'get',
    params
  })
}

// @Tags HbjgCampusLocation
// @Summary 分页获取建筑表列表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取建筑表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /hbjgCampusLocation/getHbjgCampusLocationList [get]
export const getHbjgCampusLocationList = (params) => {
  return service({
    url: '/hbjgCampusLocation/getHbjgCampusLocationList',
    method: 'get',
    params
  })
}

// @Tags HbjgCampusLocation
// @Summary 不需要鉴权的建筑表接口
// @Accept application/json
// @Produce application/json
// @Param data query app_coreReq.HbjgCampusLocationSearch true "分页获取建筑表列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /hbjgCampusLocation/getHbjgCampusLocationPublic [get]
export const getHbjgCampusLocationPublic = () => {
  return service({
    url: '/hbjgCampusLocation/getHbjgCampusLocationPublic',
    method: 'get',
  })
}
